package com;

import java.io.FileWriter;
import java.io.IOException;

public class Test02 {
    public static void main(String[] args) throws IOException {
        String path = "HomeWork15\\dir\\bb.txt";
        FileWriter fw = new FileWriter(path);
        fw.write("world");
        fw.close();
    }
}
